<%--
  Created by IntelliJ IDEA.
  User: JYC
  Date: 2022/4/12
  Time: 15:36:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div class="easyui-layout" style="width: 100%;height: 590px">
    <div data-options="region:'east',split:true" title="日历" style="width:260px;">
        <div class="easyui-calendar" style="width: 100%;height:250px;"></div>
    </div>
    <div data-options="region:'center',title:'新闻列表',iconCls:'icon-ok'">
        <table class="easyui-datagrid"
               data-options="url:'getNews',method:'get',singleSelect:true,fit:true,fitColumns:true">
            <thead>
            <tr>
                <th data-options="field:'id'" width="50">新闻序号</th>
                <th data-options="field:'title'" width="100">新闻标题</th>
                <th data-options="field:'content',align:'right'" width="200">新闻内容</th>
                <th data-options="field:'createtime',align:'right'" width="80">创建时间</th>
                <th data-options="field:'auther'" width="50">作者</th>
            </tr>
            </thead>
        </table>
    </div>
    <div data-options="region:'south',split:true,iconCls:'icon-ok'" title="系统公告" style="height:200px;">
        <table class="easyui-datagrid"
               data-options="url:'getNews2',method:'get',singleSelect:true,fit:true,fitColumns:true">
            <thead>
            <tr>
                <th data-options="field:'id'" width="50">新闻序号</th>
                <th data-options="field:'title'" width="100">新闻标题</th>
                <th data-options="field:'content',align:'right'" width="200">新闻内容</th>
                <th data-options="field:'createtime',align:'right'" width="80">创建时间</th>
                <th data-options="field:'auther'" width="50">作者</th>
            </tr>
            </thead>
        </table>
    </div>
</div>
<script>

</script>
</body>
</html>
